package com.qkl.xiatang.app.dto;

import lombok.Data;

import java.util.List;
import java.util.Map;
import java.util.TreeMap;

@Data
public class WeatherDTO {

    private static final String CODE_OK = "200";

    private String fxLink;

    private String code;

    private String updateTime;

    private Map<String,Object> refer;

    private List<TreeMap<String,Object>> daily;

    private String data;

    public boolean isOK(){
        return CODE_OK.equals(code);
    }


}